package com.shop.cereshop.business.service.tool;

import com.shop.cereshop.business.page.tool.ToolProduct;
import com.shop.cereshop.commons.domain.tool.CereShopGroupWorkDetail;
import com.shop.cereshop.commons.exception.CoBusinessException;

import java.util.List;

public interface CereShopGroupWorkDetailService {
    void insertBatch(List<CereShopGroupWorkDetail> details) throws CoBusinessException;

    void deleteById(Long shopGroupWorkId) throws CoBusinessException;

    List<ToolProduct> findProducts(Long shopGroupWorkId);

    List<ToolProduct> findDistinctProducts(Long shopGroupWorkId);
}
